package com.gec.anan.driver.client;

import com.gec.anan.common.result.Result;
import com.gec.anan.model.form.driver.TransferForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "service-driver",path = "/driver/account")
public interface DriverAccountFeignClient {

    //将系统奖励打入司机账号
    @PostMapping("/transfer")
    public Result<Boolean> transfer(@RequestBody TransferForm transferForm);

}